home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'AHMTFileCollector.pas' rev: 3.00
-
- #ifndef AHMTFileCollectorHPP
- #define AHMTFileCollectorHPP
- #include <AHMSystem.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtfilecollector
- {
- //-- type declarations -------------------------------------------------------
- typedef void __fastcall (__closure *TAHMOnFileFound)(System::TObject* Sender, System::AnsiString Filename
- );
-
- class DELPHICLASS TAHMFileCollector;
- class PASCALIMPLEMENTATION TAHMFileCollector : public Ahmsystem::TAHMExecuteComponent
- {
- typedef Ahmsystem::TAHMExecuteComponent inherited;
-
- private:
- TAHMOnFileFound FOnFileFound;
- Classes::TNotifyEvent FOnDirectoryFound;
- System::AnsiString FInitialDirectory;
- System::AnsiString FFileMask;
- Classes::TStrings* FLocatedObjects;
- void __fastcall SetLocatedObjects(Classes::TStrings* value);
-
- public:
- __fastcall virtual TAHMFileCollector(Classes::TComponent* AOwner);
- __fastcall virtual ~TAHMFileCollector(void);
- virtual bool __fastcall Execute(void);
- bool __fastcall Scandirectory(const System::AnsiString dir);
-
- __published:
- __property Classes::TNotifyEvent OnDirectoryFound = {read=FOnDirectoryFound, write=FOnDirectoryFound
- };
- __property TAHMOnFileFound OnFileFound = {read=FOnFileFound, write=FOnFileFound};
- __property Classes::TStrings* LocatedObjects = {read=FLocatedObjects, write=SetLocatedObjects};
- __property System::AnsiString InitialDirectory = {read=FInitialDirectory, write=FInitialDirectory};
-
- __property System::AnsiString FileMask = {read=FFileMask, write=FFileMask};
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtfilecollector */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtfilecollector;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTFileCollector
-